Auto merge of #2035 - alexcrichton:optimize-default, r=brson
authorbors <bors@rust-lang.org>
Thu, 8 Oct 2015 20:33:01 +0000 (20:33 +0000)
committerbors <bors@rust-lang.org>
Thu, 8 Oct 2015 20:33:01 +0000 (20:33 +0000)
commit94a5b9bf30b1b6f8e7af1aee7043d7e2148a82c5
tree311105ea58e1eb512901f44c7891837dd83f58ed
parenta377fd706a79fe5260871258cc703ace0470d099
parent8daf33506f7f4f37872130665fb6c405ce58f5c5
Auto merge of #2035 - alexcrichton:optimize-default, r=brson

This change mirrors the compiler by enabling optimizations by default rather
than by default producing an unoptimized Cargo build. I was curious why #2033
hit a debug assertion when we don't ship any binaries with debug assertions
enabled, but it looked like Cargo was installed via Homebrew which [does not
currently enable optimizations][homebrew]. I'll also send a PR over there, but I
figured it'd be also good to nip this in the bud and just start enabling
optimizations by default.

[homebrew]: https://github.com/Homebrew/homebrew/blob/5d09dd/Library/Formula/rust.rb#L69